﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000053 RID: 83
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AetherDivideFinishChallengeScNotify : IMessage<AetherDivideFinishChallengeScNotify>, IMessage, IEquatable<AetherDivideFinishChallengeScNotify>, IDeepCloneable<AetherDivideFinishChallengeScNotify>, IBufferMessage
	{
		// Token: 0x1700010F RID: 271
		// (get) Token: 0x060003B4 RID: 948 RVA: 0x0000C019 File Offset: 0x0000A219
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AetherDivideFinishChallengeScNotify> Parser
		{
			get
			{
				return AetherDivideFinishChallengeScNotify._parser;
			}
		}

		// Token: 0x17000110 RID: 272
		// (get) Token: 0x060003B5 RID: 949 RVA: 0x0000C020 File Offset: 0x0000A220
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AetherDivideFinishChallengeScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000111 RID: 273
		// (get) Token: 0x060003B6 RID: 950 RVA: 0x0000C032 File Offset: 0x0000A232
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AetherDivideFinishChallengeScNotify.Descriptor;
			}
		}

		// Token: 0x060003B7 RID: 951 RVA: 0x0000C039 File Offset: 0x0000A239
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideFinishChallengeScNotify()
		{
		}

		// Token: 0x060003B8 RID: 952 RVA: 0x0000C041 File Offset: 0x0000A241
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideFinishChallengeScNotify(AetherDivideFinishChallengeScNotify other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060003B9 RID: 953 RVA: 0x0000C066 File Offset: 0x0000A266
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideFinishChallengeScNotify Clone()
		{
			return new AetherDivideFinishChallengeScNotify(this);
		}

		// Token: 0x17000112 RID: 274
		// (get) Token: 0x060003BA RID: 954 RVA: 0x0000C06E File Offset: 0x0000A26E
		// (set) Token: 0x060003BB RID: 955 RVA: 0x0000C076 File Offset: 0x0000A276
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x060003BC RID: 956 RVA: 0x0000C07F File Offset: 0x0000A27F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AetherDivideFinishChallengeScNotify);
		}

		// Token: 0x060003BD RID: 957 RVA: 0x0000C08D File Offset: 0x0000A28D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AetherDivideFinishChallengeScNotify other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060003BE RID: 958 RVA: 0x0000C0BC File Offset: 0x0000A2BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060003BF RID: 959 RVA: 0x0000C0FB File Offset: 0x0000A2FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060003C0 RID: 960 RVA: 0x0000C103 File Offset: 0x0000A303
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060003C1 RID: 961 RVA: 0x0000C10C File Offset: 0x0000A30C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060003C2 RID: 962 RVA: 0x0000C140 File Offset: 0x0000A340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060003C3 RID: 963 RVA: 0x0000C17E File Offset: 0x0000A37E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AetherDivideFinishChallengeScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060003C4 RID: 964 RVA: 0x0000C1AF File Offset: 0x0000A3AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060003C5 RID: 965 RVA: 0x0000C1B8 File Offset: 0x0000A3B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ChallengeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400015B RID: 347
		private static readonly MessageParser<AetherDivideFinishChallengeScNotify> _parser = new MessageParser<AetherDivideFinishChallengeScNotify>(() => new AetherDivideFinishChallengeScNotify());

		// Token: 0x0400015C RID: 348
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400015D RID: 349
		public const int ChallengeIdFieldNumber = 13;

		// Token: 0x0400015E RID: 350
		private uint challengeId_;
	}
}
